//NIRMA STUDIO, 2013
// Marine init
#include <iostream>
#include <math.h>
#include <string.h>
#include <iomanip>
//#include "Object.h"

using namespace std;

class Marine: public Object{
	public:
		Marine(void);
		Marine(int lvl);
		~Marine();
};

Marine::Marine(int lvl){
	name       			= "Marine";
	level      			= lvl;
	attack     			= 2.0  * (pow(1.3, lvl));
	attack_type[0]		= "gunpowder";
	attack_type[1]		= "medium";
	armor_type			= "light";
	cost[0] 			= 100;
	cost[1] 			= 0;
	cost[2] 			= 1; 						
	health     			= 10.0 	* (pow(1.2, lvl));
	mana       			= 4.0  	* (pow(1.2, lvl));
	experience 			= 0.0;
	max_experience  	= 10.0 	* (pow(1.4, lvl));
	crit_chance 		= 5	   	* (pow(1.1, lvl));
	dodge_chance 		= 5 	* (pow(1.1, lvl));
	mana_regen 			= 0;
	hp_regen 			= 0;
	move_speed 			= 100;
	attack_range 		= 100;
	sight_range 		= 200;
}

Marine::Marine(){
	name       			= "Marine";
	level      			= 1;
	attack     			= 2.0;
	health     			= 10.0;
	mana       			= 4.0;
	experience 			= 0.0;
	max_experience  	= 10.0;
	crit_chance 		= 5;
	dodge_chance 		= 5;
	attack_type[0]		= "gunpowder";
	attack_type[1]		= "medium";
	armor_type			= "light";
	cost[0] 			= 100;
	cost[1] 			= 0;
	cost[2] 			= 1;
	mana_regen 			= 0;
	hp_regen 			= 0;
	move_speed 			= 100;
	attack_range 		= 100;
	sight_range 		= 200;	
}

Marine::~Marine(){}

